package com.spic.business.riskbase.hierarchy.domain;

import com.spic.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * analyse对象 risk_analyse
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public class RiskAnalyse
{
    private static final long serialVersionUID = 1L;

    /** 风险分析id */
    private Long id;

    /** 风险分析描述 */
    @Excel(name = "风险分析描述")
    private String riskAnalyseName;

    private Long parentDeptId;
    private Long workTaskId;
    private String workTaskName;
    private Long workStepId;
    private String workStepName;
    private Long dangerSourceId;
    private String dangerSourceName;
    private Long riskDescriptionId;
    private String riskDescriptionName;

    /** $table.subTable.functionName信息 */
    private List<RiskDetailsInfo> riskDetailsInfoList;

    public Long getDangerSourceId() {
        return dangerSourceId;
    }

    public void setDangerSourceId(Long dangerSourceId) {
        this.dangerSourceId = dangerSourceId;
    }

    public String getDangerSourceName() {
        return dangerSourceName;
    }

    public void setDangerSourceName(String dangerSourceName) {
        this.dangerSourceName = dangerSourceName;
    }

    public Long getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Long parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public Long getWorkTaskId() {
        return workTaskId;
    }

    public void setWorkTaskId(Long workTaskId) {
        this.workTaskId = workTaskId;
    }

    public String getWorkTaskName() {
        return workTaskName;
    }

    public void setWorkTaskName(String workTaskName) {
        this.workTaskName = workTaskName;
    }

    public Long getWorkStepId() {
        return workStepId;
    }

    public void setWorkStepId(Long workStepId) {
        this.workStepId = workStepId;
    }

    public String getWorkStepName() {
        return workStepName;
    }

    public void setWorkStepName(String workStepName) {
        this.workStepName = workStepName;
    }

    public String getRiskDescriptionName() {
        return riskDescriptionName;
    }

    public void setRiskDescriptionName(String riskDescriptionName) {
        this.riskDescriptionName = riskDescriptionName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRiskDescriptionId(Long riskDescriptionId) 
    {
        this.riskDescriptionId = riskDescriptionId;
    }

    public Long getRiskDescriptionId() 
    {
        return riskDescriptionId;
    }
    public void setRiskAnalyseName(String riskAnalyseName) 
    {
        this.riskAnalyseName = riskAnalyseName;
    }

    public String getRiskAnalyseName() 
    {
        return riskAnalyseName;
    }

    public List<RiskDetailsInfo> getRiskDetailsInfoList()
    {
        return riskDetailsInfoList;
    }

    public void setRiskDetailsInfoList(List<RiskDetailsInfo> riskDetailsInfoList)
    {
        this.riskDetailsInfoList = riskDetailsInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("riskDescriptionId", getRiskDescriptionId())
            .append("riskAnalyseName", getRiskAnalyseName())
            .append("riskDetailsInfoList", getRiskDetailsInfoList())
            .toString();
    }
}
